//准备窗口
import javax.swing.*;
public class Client_Ready extends JFrame{
    
   JButton button1;    //按钮 入场
    JButton button4;    //按钮 退出游戏
    Client_Ready(){
       
    	button1 = new JButton("游戏开始");
        button4 = new JButton("退出游戏");
        
        button1.setBounds(30, 30, 100, 100);
        button4.setBounds(160, 190, 100, 25);
        setTitle("选择界面");
        setSize(300, 300);
        setLayout(null);
        setLocationRelativeTo(null);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
       
        add(button1);
        add(button4);
        
        button1.addActionListener(new Client_Ready_button1());
        button4.addActionListener(new AllWinClose_button(this));
        setVisible(true);
    }
}